package com.cx.bank.model;

import java.io.Serializable;

/**
 * @author jxau_scf
 * @date 2021/7/14 - 9:10
 */
public class UserBean implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer password;
    private MoneyBean moneyBean;
    private String userName;

    public UserBean() {
    }

    public UserBean(Integer password, MoneyBean moneyBean, String userName) {
        this.password = password;
        this.moneyBean = moneyBean;
        this.userName = userName;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public MoneyBean getMoneyBean() {
        return moneyBean;
    }

    public void setMoneyBean(MoneyBean moneyBean) {
        this.moneyBean = moneyBean;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }



    @Override
    public String toString() {
        return "UserBean{" +
                "password=" + password +
                ", moneyBean=" + moneyBean +
                ", userName='" + userName + '\'' +
                '}';
    }
}
